<?php /* Smarty version 2.6.18, created on 2009-05-07 07:20:22
         compiled from member/default/offer.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'member/default/offer.html', 41, false),array('modifier', 'strip_tags', 'member/default/offer.html', 43, false),array('modifier', 'truncate', 'member/default/offer.html', 43, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
" />
<title>供求信息-<?php echo $this->_tpl_vars['cinfo']['CompanyName']; ?>
&nbsp;<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<style type="text/css">
<!--
body {
	margin-top: 3px;
}
-->
</style>
<link href="<?php echo $this->_tpl_vars['I_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['TplPath'])."/top.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td>
<table width="778" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="7">&nbsp;</td>
        <td width="538" valign="top" style="padding-bottom:5px;padding-top:5px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="55"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="left"><img src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/cptu.gif" width="41" height="36" /><strong>供求信息</strong></td>
                  </tr>
            </table></td>
          </tr>
          <tr>
        <td style="padding-top:5px;">
        <table width="95%" height="300" border="0" align="left" cellpadding="0" cellspacing="0">
        <tr> 
          <td><div align="center"><?php echo $this->_tpl_vars['ByPages']; ?>
<hr size="1"></div>
			<?php $_from = $this->_tpl_vars['Offers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['companyoffers'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['companyoffers']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['c_o']):
        $this->_foreach['companyoffers']['iteration']++;
?>
            <table width="100%" height="77" border="0" cellpadding="2" cellspacing="2">
              <tr>
                <td height="57"><img src="<?php if ($this->_tpl_vars['c_o']['TradePicture'] != ""): ?><?php echo $this->_tpl_vars['attachment_dir']; ?>
<?php echo $this->_tpl_vars['c_o']['TradePicture']; ?>
.small.jpg<?php else: ?><?php echo $this->_tpl_vars['I_PATH']; ?>
images/nopic.gif<?php endif; ?>" width="70" height="70" /></td>
                <td><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
<?php echo $this->_tpl_vars['TradeNames'][$this->_tpl_vars['c_o']['TradeTypeId']]; ?>
/content.php?id=<?php echo $this->_tpl_vars['c_o']['TradeId']; ?>
" class="linkred" target="_blank"><strong>
                  <?php echo $this->_tpl_vars['c_o']['TradeTopic']; ?>

                </strong></a><span class="time"> (
                <?php echo ((is_array($_tmp=$this->_tpl_vars['c_o']['CreateDate'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>

                ) </span><span style="align: right; display: inline">【<?php echo $this->_tpl_vars['TradeTypes'][$this->_tpl_vars['c_o']['TradeTypeId']]; ?>
】</span><br />
                <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['c_o']['TradeContent'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 200) : smarty_modifier_truncate($_tmp, 200)); ?>

                <br />
[<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
<?php echo $this->_tpl_vars['TradeNames'][$this->_tpl_vars['c_o']['TradeTypeId']]; ?>
/content.php?id=<?php echo $this->_tpl_vars['c_o']['TradeId']; ?>
">查看详细信息</a>] </td>
              </tr>
            </table>
            <hr size=1 noshade style="border:dotted;color:gray;width:94%;height:1px;zoom:1" />
			<?php endforeach; else: ?>
			<?php endif; unset($_from); ?>
            <div align="center"><?php echo $this->_tpl_vars['ByPages']; ?>
</div>
            </td>
        </tr>
      </table>
            </td>
          </tr>
        </table></td>
        <td align="right" valign="top"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['TplPath'])."/menu.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
      </tr>
    </table></td>
</tr>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['TplPath'])."/foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>